package com.sqx.modules.creation.entity.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class AuditCreationDto {
    @NotNull(message = "作品id不能为空")
    private Integer creationId;
    @NotNull(message = "审核状态不能为空")
    @Min(value = 0,message = "审核状态不能小于0")
    @Max(value = 2,message = "审核状态不能大于2")
    private Integer auditStatus;
}
